<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>充电特效3</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background: #000;
        }

        .box {
            width: 800px;
            height: 600px;
            background: #000;
            margin: 50px auto;
            padding-top: 50px;
            position: relative;
        }

        .contrast {
            width: 100%;
            height: 100%;
            background-color: #000;
            overflow: hidden;
            filter: contrast(15) hue-rotate(0);
            position: relative;
            animation: hueRotate 6s linear infinite;
        }

        @keyframes hueRotate {
            0% {
                filter: contrast(15) hue-rotate(0);
            }

            100% {
                filter: contrast(15) hue-rotate(360deg);
            }
        }

        .circle {
            width: 300px;
            height: 300px;
            position: absolute;
            top: 10px;
            left: 50%;
            margin-left: -150px;
            box-sizing: border-box;
            filter: blur(8px);
            animation: circleRotate 6s linear infinite;

        }

        .circle::before {
            content: "";
            height: 200px;
            width: 200px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(0);
            background: #00ff6f;
            border-radius: 42% 38% 62% 49% / 45%;

        }

        .circle::after {
            content: "";
            width: 176px;
            height: 178px;
            background: #000;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        @keyframes circleRotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .bubble-home {
            width: 150px;
            height: 50px;
            background: #00ff6f;
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translate(-50%, 0);
            border-radius: 100px 100px 0 0;
            filter: blur(5px);
        }

        .number {
            width: 200px;
            height: 200px;
            text-align: center;
            z-index: 9;
            font-size: 30px;
            line-height: 200px;
            color: white;
            position: absolute;
            left: 50%;
            top: 18%;
            transform: translate(-50%, 0%);

        }

        .bubble {
            background: #00ff6f;
            position: absolute;
            bottom: 0;
            border-radius: 100px 100px 0 0;
            filter: blur(5px);
            animation: moveUp ease-in-out infinite;
        }

        .bubble:nth-child(1) {
            width: 20px;
            height: 20px;
            left: 50%;
            animation-duration: 4s;
            animation-delay: 2s;
        }

        .bubble:nth-child(2) {
            width: 22px;
            height: 22px;
            left: 54%;
            animation-duration: 4.2s;
            animation-delay: 4s;
        }

        .bubble:nth-child(3) {
            width: 24px;
            height: 24px;
            left: 45%;
            animation-duration: 3s;
            animation-delay: 1s;
        }

        .bubble:nth-child(4) {
            width: 20px;
            height: 22px;
            left: 54%;
            animation-duration: 5s;
            animation-delay: 0s;
        }

        .bubble:nth-child(5) {
            width: 22px;
            height: 22px;
            left: 52%;
            animation-duration: 3.5s;
            animation-delay: 5s;
        }

        .bubble:nth-child(6) {
            width: 20px;
            height: 20px;
            left: 50%;
            animation-duration: 4.7s;
            animation-delay: 1.2s;
        }

        .bubble:nth-child(7) {
            width: 22px;
            height: 22px;
            left: 54%;
            animation-duration: 2.5s;
            animation-delay: 3.5s;
        }

        .bubble:nth-child(8) {
            width: 24px;
            height: 24px;
            left: 51%;
            animation-duration: 5.6s;
            animation-delay: 4.2s;
        }

        .bubble:nth-child(9) {
            width: 26px;
            height: 26px;
            left: 42%;
            animation-duration: 5.2s;
            animation-delay: 4s;
        }

        .bubble:nth-child(10) {
            width: 26px;
            height: 22px;
            left: 54%;
            animation-duration: 3.8s;
            animation-delay: 4.3s;
        }

        .bubble:nth-child(11) {
            width: 22px;
            height: 22px;
            left: 42%;
            animation-duration: 4.2s;
            animation-delay: 0.3s;
        }

        .bubble:nth-child(12) {
            width: 24px;
            height: 24px;
            left: 46%;
            animation-duration: 4.6s;
            animation-delay: 2.0s;
        }

        .bubble:nth-child(13) {
            width: 22px;
            height: 22px;
            left: 48%;
            animation-duration: 3.8s;
            animation-delay: 3.2s;
        }

        .bubble:nth-child(14) {
            width: 26px;
            height: 22px;
            left: 55%;
            animation-duration: 5.2s;
            animation-delay: 2.9s;
        }

        .bubble:nth-child(15) {
            width: 26px;
            height: 22px;
            left: 52%;
            animation-duration: 4.9s;
            animation-delay: 4.2s;
        }



        @keyframes moveUp {
            0% {
                bottom: 0;
            }

            100% {
                bottom: calc(100% - 265px);
            }
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="number">95.2%</div>

        <div class="contrast">
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>
            <span class="bubble"></span>


            <div class="circle"></div>
            <div class="bubble-home"></div>
        </div>
    </div>
</body>

</html>